﻿using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class MemberModel:AuditModel
    {
        [Key]
        public int Id { get; set; }
        public string Img { get; set; }
        public string Name { get; set; }
        public string Password { get; set; }
        /// <summary>
        /// 1表示正常
        /// 2表示冻结
        /// </summary>
        public int Start { get; set; } = 1;
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 是否删除
        /// true表示已删除
        /// false默认表示正常
        /// </summary>
        public bool IsDelete { get; set; } = false;
        /// <summary>
        /// 会员登记编号
        /// </summary>
        public int LevelId { get; set; }
    }
}
